package YottaTron.Map;

import java.io.Serializable;

/**
 *
 * @author Cenda
 */
public class Obstacle implements Serializable{
    public int ID;
    public int hitPoints;
    public int maxHitPoints;
    public int obstacleGraphics;
    public int obstacleAnimations;
    public int burningAnimation;
    public boolean damageable;
    public boolean destructible;
    public boolean ignitable;
    public boolean burning;
    public int x,y;
    public int type;
    public int width;
    public int height;

    public Obstacle(int ID,int x, int y,int maxHitPoints, int obstacleGraphics, int obstacleAnimations, int burningAnimation, boolean damageable, boolean destructible, boolean ignitable) {
        this.maxHitPoints = maxHitPoints;
        this.hitPoints = maxHitPoints;
        this.obstacleGraphics = obstacleGraphics;
        this.obstacleAnimations = obstacleAnimations;
        this.burningAnimation = burningAnimation;
        this.damageable = damageable;
        this.destructible = destructible;
        this.ignitable = ignitable;
        this.ID = ID;
        this.x = x;
        this.y=y;
        this.width = 6;
        this.height = 6;
        //this.type = type;
    }

    public Obstacle(int x, int y, int obstacleGraphics, int ID) {
        this.ID = ID;
        this.x = x;
        this.y = y;
        this.obstacleGraphics = obstacleGraphics;
        //this.type = type;
    }

}
